package indi.henry.demo.model;

import java.io.Serializable;

import lombok.Builder;
import lombok.Data;

/**
 * entity for counter model
 * 
 * @author Henry Hu
 */
@Data
@Builder
public class Counter implements Serializable {

    /**
     * Times that this app received get URL request
     */
    private long get;

    /**
     * Times that this app received shortening URL request
     */
    private long set;

    /**
     * Last time that the app received get URL request
     */
    private Long getTime;

    /**
     * Last time that the app received shortening URL request
     */
    private Long setTime;
}
